Update SIMD code generation due to simd.js update and fix the undef handling

i think this should be in `getConstant` which this function calls (and is right above it). There is a section there for undef already, which you can add to