[PATCH 6.1 130/170] gpio: sifive: add missing check for platform_get_irq