Fix stride_stricks.as_strided function for object arrays

Currently, calling as_strided for object array results in 'TypeError: Cannot change data-type for object array.'. Fix so that dtype of new array is only set for void dtype, as originally intended.
Merge pull request #4377 from ContinuumIO/as_strided_fix

Fix stride_stricks.as_strided function for object arrays