[MIPS] Use ARRAY_SIZE macro when appropriate