Remove use of deprecated method in Trainer HP search
# What does this PR do?

Somehow this one slip in the cracks and was forgotten when we removed old deprecated method. This might warrant a release patch if we don't do a new release soon.

Fixes #8995