Self-consistent mean-field theory of the XXZ ferrimagnetic spin chain with single-ion anisotropy