fix SV type probing to not break pre perl 5.12