MAINT: sparse: Simplify sputils.isintlike
MAINT: sparse: Simplify sputils.isintlike

This works around gh-7860 by not calling np.isscalar,
as suggested by @eric-wieser.

Some objects that fail sputils.isscalarlike will pass the
np.ndim check (i.e. object), but these are handled by the
try-except check, which should be cheap for anything where
np.ndim(x) == 0.

mdhaber/scipy,aarchiba/scipy,gertingold/scipy,zerothi/scipy,person142/scipy,andyfaff/scipy,rgommers/scipy,gfyoung/scipy,jor-/scipy,Eric89GXL/scipy,andyfaff/scipy,rgommers/scipy,Stefan-Endres/scipy,gertingold/scipy,grlee77/scipy,anntzer/scipy,nmayorov/scipy,perimosocordiae/scipy,arokem/scipy,aarchiba/scipy,person142/scipy,aarchiba/scipy,gfyoung/scipy,Eric89GXL/scipy,ilayn/scipy,andyfaff/scipy,zerothi/scipy,jor-/scipy,endolith/scipy,pizzathief/scipy,zerothi/scipy,tylerjereddy/scipy,mdhaber/scipy,tylerjereddy/scipy,scipy/scipy,aeklant/scipy,pizzathief/scipy,Stefan-Endres/scipy,Eric89GXL/scipy,zerothi/scipy,endolith/scipy,mdhaber/scipy,rgommers/scipy,mdhaber/scipy,grlee77/scipy,pizzathief/scipy,e-q/scipy,endolith/scipy,scipy/scipy,vigna/scipy,andyfaff/scipy,vigna/scipy,scipy/scipy,person142/scipy,aarchiba/scipy,Eric89GXL/scipy,rgommers/scipy,ilayn/scipy,arokem/scipy,e-q/scipy,aeklant/scipy,gertingold/scipy,gertingold/scipy,perimosocordiae/scipy,ilayn/scipy,aeklant/scipy,lhilt/scipy,Stefan-Endres/scipy,WarrenWeckesser/scipy,e-q/scipy,andyfaff/scipy,ilayn/scipy,person142/scipy,scipy/scipy,zerothi/scipy,grlee77/scipy,gfyoung/scipy,jamestwebber/scipy,WarrenWeckesser/scipy,arokem/scipy,anntzer/scipy,scipy/scipy,endolith/scipy,gfyoung/scipy,person142/scipy,aeklant/scipy,rgommers/scipy,e-q/scipy,anntzer/scipy,WarrenWeckesser/scipy,vigna/scipy,Eric89GXL/scipy,perimosocordiae/scipy,perimosocordiae/scipy,lhilt/scipy,scipy/scipy,nmayorov/scipy,matthew-brett/scipy,nmayorov/scipy,ilayn/scipy,jor-/scipy,jamestwebber/scipy,arokem/scipy,jamestwebber/scipy,jamestwebber/scipy,jamestwebber/scipy,aarchiba/scipy,mdhaber/scipy,aeklant/scipy,tylerjereddy/scipy,gertingold/scipy,jor-/scipy,zerothi/scipy,Stefan-Endres/scipy,grlee77/scipy,Stefan-Endres/scipy,WarrenWeckesser/scipy,pizzathief/scipy,WarrenWeckesser/scipy,Stefan-Endres/scipy,ilayn/scipy,lhilt/scipy,lhilt/scipy,tylerjereddy/scipy,matthew-brett/scipy,andyfaff/scipy,e-q/scipy,nmayorov/scipy,matthew-brett/scipy,endolith/scipy,endolith/scipy,anntzer/scipy,vigna/scipy,pizzathief/scipy,Eric89GXL/scipy,tylerjereddy/scipy,mdhaber/scipy,perimosocordiae/scipy,arokem/scipy,grlee77/scipy,matthew-brett/scipy,anntzer/scipy,anntzer/scipy,WarrenWeckesser/scipy,jor-/scipy,gfyoung/scipy,perimosocordiae/scipy,nmayorov/scipy,vigna/scipy,lhilt/scipy,matthew-brett/scipy