ENH: add a basic type fastpath to PyArray_CanCastTypeTo

improves small array performance by 5%-10%
Merge pull request #4635 from juliantaylor/cast-fastpath

ENH: add a basic type fastpath to PyArray_CanCastTypeTo