BUG: sparse: restore previous behavior in numpy ufuncs with object arrays

Some users may rely on ufuncs distributing operations on sparse matrices
across each entry of an object array.

This PR restores the previous behavior when the ufunc operates both on sparse
matrices and object arrays.

Fixes gh-3345