patch applied (cabal): Move Paths_pkgname and cabal_macros.h generation into their own modules