ci/platform-test: fix stage definition in template and add retries value
In the .board-test-run
template, the stage is incorrectly defined, this has to be specified in the job. This patch also adds a retries value to prevent failure when resources are exhausted and the job times out.