Use a StreamString to fix the endianness in
constants before using them in the IR interpreter.

Patch by Félix Cloutier.