gi: add Loader.register_constant_rename_map