USB: opticon: fix non-atomic allocation in write path