Replace print statement with message logging
Cherry-picked from !2227 (merged)
The warnings from this Configurable were printed using print
instead of using the Gaudi message logging. This then breaks the possibility to mask these messages at the level of the logger - see discussion in DaVinci!358 (merged)