[mips][msa] A small refactor to reduce patch noise in my next commit