tbm_bufmgr: make a reset function for initializing module_data