Haddock: Make parsing of quoted module name compatible with older GHC versions