Changed warn_once to Base.warn_once in sparse/sparsematric.jl

Ref: #5169 @kbatseli