t/io_uring: check for valid clock_index and finish state for stats