No more using deprecated API.

defined macro NPY_NO_DEPRECATED_API in numpy.hpp,
and changed NPY_... to NPY_ARRAY_... in ndarray.cpp.