Move the minor mips-specific logic to a dedicated file & namespace them so we can merge its configure logic up a level.