Attempt to get GHC to collect GC stats at runtime
Add -O2 for sanity test
Drop some unwanted boxing/unboxing

--HG--
extra : amend_source : 526f4aacb3c81aa4e839f5eda26c82ee6a159751
Impose an upper limit on how long the sanity test runs