sync: use correct signed type when handling SYNC_IOC_WAIT

Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: Ic7d5adf9b145765e52b23186b8c3c793ccf29be7