Bug 1041868 - Add #ifdef JS_IONs to fix --disable-ion bustage (r=me)

--HG--
extra : rebase_source : e036a4cfddf84f746d77778881ced8d4f0ef4aa8