gadgetfs_helpers: Renamed find_gadget to open_gadget, added open_endpoint function