Fix a buffer overrun in `goldfish_sync_cmd_queue`

`goldfish_sync_cmd_queue` used to write a
warning that the cmd queue is full but still
wrote into the buffer causing an overrun
and missing the command.

Bug: 229140548
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I56c1fc3cf3756a82bb6e4e2bb7c0eee3e13941fc
1 file changed