health: Moving generic code out of cpu case

When running the cpu benchmark, we do have a lot of code of parsing some
common statement in the job file.

Let's make this code generic to avoid any code duplication.
health: Adding required-hosts part of bench[] struct

This was missing.