dev-haskell/happy: fix build failure against ghc-7.9

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
dev-haskell/cmdlib: fix against ghc-7.9

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