Make val::val(T&&) compatible with asm.js