[PATCH 4.9 114/240] usb: gadget: r8a66597: Add missing null check on return from platform_get_resource