usb: dev-mtp: fix memory leak in error path