JIT: fix fsel/ps_sel implementations for NaN input

This fixes Beyond Good and Evil (at the least).