small masked array performance enhancement

remove unnecessary typecast and seterr operations
I don't think micro-benchmarks like this will help much.  I singled out this particular change because it stood out in the otherwise obviously correct patch.

If this line is not reachable with m = nomask, I agree that pre-checking m will not make a difference.