minor refactoring in support of an upcoming optimization
fix embind/asm.js in PRECISE_F32 mode