block/sio: fixes for sio

This fixes writes_starved not being initialised on startup and also modifies the write starvation counting logic.
(Credits to Boy Peterson)

Change-Id: I46a12be2d678a846edc94103b8c2cde9f7dc0967
Signed-off-by: zwliew <zhaoweiliew@gmail.com>