Hysteresis in random-field Ising model on a Bethe lattice with a mixed coordination number