perf test: Handle fd gaps in test__dso_data_reopen