ENH: release GIL in more ndimage functions

thx fixed