RTS changes for profiling support

See also https://github.com/ghcjs/ghcjs/pull/192
hard-coded values will only work when compiled for 64bit systems.