MDL-34397 small improvements to get_fast_modinfo()