[dv] Reorder checks in sim.py
[dv] Reorder checks in sim.py

The UVM log should be checked for failures before attempting to process
the core trace log. A simulation failure could mean the trace log
doesn't exist and is is preferable to report the simulation error from
the log rather than trace not found as a failure cause.

lowRISC/ibex,AmbiML/ibex,lowRISC/ibex,lowRISC/ibex,AmbiML/ibex,lowRISC/ibex,AmbiML/ibex,AmbiML/ibex