MIPS: Modularize COP2 handling