seq_midi_event: fix parsing of missing data bytes
seq_midi_event: fix parsing of missing data bytes

Reorganize the encoder logic to prevent status bytes that appear where
data bytes are expected from being interpreted as data bytes.

mikelima/alsa-lib,tiwai/alsa-lib,gittup/alsa-lib,takaswie/alsa-lib,mengdonglin/alsa-lib,Distrotech/alsa-lib,zedongchen/alsa-lib,tiwai/alsa-lib,mengdonglin/alsa-lib,zedongchen/alsa-lib,takaswie/alsa-lib,alsa-project/alsa-lib,Distrotech/alsa-lib,takaswie/alsa-lib,mengdonglin/alsa-lib,zedongchen/alsa-lib,lgirdwood/alsa-lib,mikelima/alsa-lib,Distrotech/alsa-lib,mikelima/alsa-lib,lgirdwood/alsa-lib,mikelima/alsa-lib,gittup/alsa-lib,alsa-project/alsa-lib,lgirdwood/alsa-lib,zedongchen/alsa-lib,lgirdwood/alsa-lib,tiwai/alsa-lib,takaswie/alsa-lib,mengdonglin/alsa-lib,mengdonglin/alsa-lib,tiwai/alsa-lib,gittup/alsa-lib,Distrotech/alsa-lib,mikelima/alsa-lib,alsa-project/alsa-lib,gittup/alsa-lib,takaswie/alsa-lib,Distrotech/alsa-lib,zedongchen/alsa-lib,lgirdwood/alsa-lib,alsa-project/alsa-lib