[Misc] Apply SonarCloud rule cpp:S6190
SonarCloud rule fix
- Rule name: Use "function_name" member function of "std::source_location" instead of "FUNCTION" predefined value.
- Rule code: cpp:S6190
- Rule link: https://sonarcloud.io/project/issues?open=AZiFaK5SKdmoYzTD651Y&id=cern-cta_CTA