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

closes gh-5240
Why is the asarray needed?