support axis=None for nanmedian ( issue #7352 )