tests: drivers: gpio: Add device runtime PM compatibility

Update the gpio_basic_api test to support device runtime
power management. This ensures the test runs correctly when
runtime PM is enabled on GPIO devices.

Signed-off-by: Sai Santhosh Malae <Santhosh.Malae@silabs.com>
2 files changed