ENH: enable _attempt_nocopy_reshape for zero size corner case

Adds some extra code for the special case where the size of the
array is 0. This is currently unused, but it may be useful to not
have to worry about such corner cases in the future.