ENH: Make `np.linalg.pinv` behave like a gufunc

Use the gufunc functionality of SVD to allow solving for multiple
pseudo-inverses with a single function call.