target/mips: Extract MSA helpers from op_helper.c