[PATCH 5.11 273/601] usb: gadget: r8a66597: Add missing null check on return from platform_get_resource