tbm_bufmgr: add checking of a map_count in the unmap function