Fix memleak on ftdi_write_data_submit() error