Add mask, mask_ to Distribution.Compat.Exception

This fixes the build on GHC 6.12.3 and also makes -j work there.