Near-horizon limit of the charged BTZ black hole and AdS(2) quantum gravity