support extracting txz ghc tarballs

GHC upstream started with 7.8 shipping .tar.xz files as well as .tar.gz.
It would be nice to support that those: this change does that.

If a finer case statement is preferred I can rework the patch.