Complement module_set_weight() with module_get_weight()