input: gpio_keys: fix gpio_pin_get_dt error handling

When gpio_pin_get_dt returns an error, the report event should not
be generated

Signed-off-by: WenBin Zhang <freey7955@gmail.com>
1 file changed