io_uring: only call kfree() for a non-zero pointer