[PATCH 5.4 123/244] usb: gadget: r8a66597: Add missing null check on return from platform_get_resource