Use PyArray_BASE instead of PyArray_SetBaseObject on Numpy < 1.7