dev-lang/ghc-7.8.3: backport a bunch of UNREG fixes

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>