MAINT: remove `from numpy.math cimport` usages
These are available from Cython's `libc`, which is cleaner. NumPy would like to get rid of shipping libnpymath, and has also deprecated the (unrelated) `numpy.math` in the Python API. So best to not use it from Cython either.
Thanks @rgommers 