lang/purescript: Unbreak with recent GHC.
Reported by: pkg-fallout
(cherry picked from commit cb6b5b2243a1cfa6d89999d6cf27c1d3d3e70c4a)