Add LANGUAGE extensions for inferred signatures.

Some of the inferred signatures required LANGUAGE extensions that
were not enabled. Since now GHC checks that we have to explicitly
list required extensions.