Make math module be correctly GC-rooted in C

math_module was initialised to 0, not the module object, so it was
regenerated repeatedly.