bebob: Fix handling EINVAL of stream format command

EINVAL for this command has two meaning, invalid parameters or no entries
remained. To distinguish them, this commid deal with EINVAL at any entries
as success.
oxfw: Improve command processing
oxfw: change reference counter as atomic_t
oxfw: change the contract between stream and PCM/MIDI

Apply the same way as fireworks/bebob use.