(resolve_offset_ref): Fix types used in resolving .*