target/esirisc_trace: change prototype of trace analyse functions