BUG: fix ineffective as ascontiguousarray

My last microoptimization break copying of non-contigous 1d arrays in
the continous array constructors.
What was that saying about premature optimization again?
Merge pull request #4913 from juliantaylor/fix-cont-constr

BUG: fix ineffective as ascontiguousarray