[PR55641] drop spurious const_type from reference_type variables