drivers: counter: esp32: add top value handling Implements top value callback and handling. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>