engines/io_uring: fix crash with registerfiles=1