BUG: fix not returning out array from ufuncs with subok=False set

closes gh-5240
Merge pull request #5242 from juliantaylor/fix-ufunc-subok-out

BUG: fix not returning out array from ufuncs with subok=False set