Fix metric computation in `run_glue_no_trainer`
# What does this PR do?

There is a problem in the metric computation in `run_glue_no_trainer`, which always takes the argmax regardless of the task: when the problem is a regression problem it should not be the case.
Fixes #11555