[mips] Check for the correct error message in tests for interrupt attributes.