mpsse-driver: fix cmd buffer management bugs