Move useful parts of asm-to-bytecode.test to cross-compilation.test