fix RegexpRef stuff for pre-5.12