Fix count of active PD modules in RichDetectors/RichPDPanel.h
Count the number of modules with at least one allocated PD, rather than just the total size of the storage array.
Edit - This also addresses an issue in the yaml ref files for the tests instanciate-compat-2024 and instanciate-compat-trunk that effectively disabled the stdout comparisons for them.
Edited by Christopher Rob Jones