Bug 902820 - Fix a bunch of compile warnings in SpiderMonkey.  r=till.

--HG--
extra : rebase_source : 0306d26443640104bae575a60fec7a693f7b43c5