[Bug 1195231] aarch64 ghc dynlinked executable subprocesses losing stdout (was:ghc-7.8.4 build fails to complete on aarch64)