vmdaudio: fix invalid reads when packet size is not a multiple of chunk size