Adapt to drop of StatusCode check via StatusCodeSvc
With gaudi/Gaudi!989 (merged) we are enforcing the check of returned StatusCode instances only via the [[nodiscard]] attribute and compiler warnings, so the constructor StatusCode::StatusCode(code, checked) is deprecated.
This MR fixes all the warnings resulting from the new StatusCode policy.