System.String.IsNullOrWhiteSpace seems to have incorrect accessibility on Mono

The original code did what System.String.IsNullOrEmpty does, too, so
that's fine.
merge heads of bug26511