ENH: release GIL in more ndimage functions