Fix: server will crash if rdbload or rdbsave method is not provided in module (#8670)

With this fix, module data type registration will fail if the load or save callbacks are not defined, or the optional aux load and save callbacks are not either both defined or both missing.