Charged BTZ-type solutions in Eddington-inspired Born-Infeld gravity