[UR][L0] Fix duplicate driver reporting given legacy and new drivers (#20432)
This is a cherry-pick of intel/llvm#20321
- Fix an issue where two drivers may report driver handles in reverse
order causing duplicate handles to be reported to the user.
- Updated driver version check to ensure the same driver is only ever
reported once.
Patch-by: Neil R. Spruit <neil.r.spruit@intel.com>