[GHC] #12460: Solaris linker does not recognize option --gc-sections