i2c: dm: Record maximum id of devices before probing devices