dev-lang/ghc: fix -prof build on UNREG arches

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