small masked array performance enhancement

remove unnecessary typecast and seterr operations
Removing this check may be a pessimization.   I am not sure if m can be nomask at this point, but even if m is an array filled with 0's `m.any()` is much faster than any data operation.