MAINT: move npy_is_aligned to common.h

also make it and some other alignment operators a bit faster by using
unsigned integers and bitwise and if possible.
Make use of npy_is_aligned in _IsAligned too.

Also add NPY_LIKELY and NPY_UNLIKELY macros for branch prediction hints.