Add support for Data.Char.generalCategory to libcompat