Mask async exceptions in forkM_

See #8006 for the reason why. This is not a fix as such; more of a workaround.
Export getHscEnv from HscMain