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

closes gh-5240