dev-haskell/setlocale: port to ghc-7.8

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