MAINT: special: use NPY_PI, not M_PI

M_PI is commonly available, but non-standard, so certain compiler flags may
hide it.