community/ghc: make testsuite compatible with grep >= 3.8
grep 3.8 introduced warnings on invalid backslash escape sequences. These warnings are written to stderr and cause test failures for test cases which compare stderr for equality.
CC: @kdaudt
Edited by Sören Tempel