Normalise GHC version number to make tests less fragile.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>