Raise an InfrastructureError on pyocd flash/reset errors
https://lava.ostc-eu.org/scheduler/job/7135 pyocd flash/reset error should raise infrastructure error to trigger health check.
https://lava.ostc-eu.org/scheduler/job/7135 pyocd flash/reset error should raise infrastructure error to trigger health check.