qahw: Add condition to check bytes written to hal

- playback is not stopped even bytes written is < 0.
- Add condition to check bytes written and exit playback if
 bytes written is < 0.

Change-Id: Id80c05f324b36e47a733ac441934bde115502ce2
1 file changed