InDetPerformanceMonitoring: Fix an issue with MR 75340
During MR 75340 I introduced new code for accessing the MC event weight in InDetPerformanceMonitoring but introduced an issue with the THistSvc !75340 (comment 8646702) Frank Winklmeier asked me to rever it