[release/3.0] Opt COM methods out of the new Windows instance-method handling (#24012)