ENH: release gil for np.take and np.arange

implies adapting check_and_adjust_index to allow threadsafe error
reporting.
ENH: release gil for np.packbits and np.unpackbits