Fix incorrect call to fm_module_unregister_type() - it might lead to crash.