Moved RankNTypes pragma above the module header

Apparently it sometimes does not work below the module header.  Weird.