simpleperf: add --use-cmd-exit-code in record cmd.

If used, simpleperf exits with the same exit code as the monitored
cmdline.

Bug: 211011913
Test: run simpleperf_unit_test

Change-Id: I80ff5f94963453f1105c0032b6f513f18fd1b89f
8 files changed