[jit] Fix another native-types problem. Hopefully fixes #21670 and #21636.