Restrict base version bounds.

unsafePerformIO was finally deleted out of Foreign in base 4.7.
Merge pull request #1 from Fuuzetsu/base-restrict

Restrict base versions.