workload: add timeout to avoid broken workloads
workload: add timeout to avoid broken workloads

It may happen that, when executing a workload, it gets stuck (e.g.,
because of a deadlock, a missing wakeup signal, an unlucky infinite loop
execution branch, etc.).
devlib's Target::execute, allows to specify a timeout parameter that
generates an exception if the timeout time expires.

Expose the timeout parameter to Workload::run() function that will be
directly passed to Target::execute and forwards the exception to the
caller.

Signed-off-by: Alessio Balsini <039b9354896202b5cc5b956efba47cca40d4eac8@android.com>

ARM-software/lisa,credp/lisa,credp/lisa,ARM-software/lisa,ARM-software/lisa,credp/lisa,credp/lisa,ARM-software/lisa