svm: fix fifo tail/head/ooo logic for u32 wrap