MAINT: make NPY_CPU_HAVE_UNALIGNED_ACCESS a numeric macro

allows using it in if statements like for count_nonzero
also fix a compiler warning by casting
Merge pull request #4057 from juliantaylor/unaligned-macro

MAINT: make NPY_CPU_HAVE_UNALIGNED_ACCESS a numeric macro