[GHC] #12474: Regression: Syntax error in -ddump-minimal-imports for records in GHC 8.0