[GHC] #9133: Improve parser error reporting in `ghc-pkg`