libtizplatform: fixed regression in tizqueue.c