Distribution/Gentoo/GHC.hs: add support for packages in ghc format

Signed-off-by: Sergei Trofimovich <siarheit@google.com>