Added dtype conversion for ndarray with pint unit.

8 jobs for v0.9.8 in 24 minutes and 1 second (queued for 2 seconds)