BUG: ndimage: fix swapped 64-bitness test
Merge pull request #3117 from pv/ndimage-label-fix2

BUG: ndimage: fix swapped 64-bitness test