ENH: release GIL for filter and interpolation of ndimage

allows using python threads for parallization of indepent operations.