[PATCH 4.17 18/45] usb: gadget: function: printer: avoid wrong list handling in printer_write()