Merge changes I4e6b26e8,I7980780a,Icdad51df

* changes:
  simpleperf: avoid overflow when adding counts in inject cmd.
  simpleperf: split InjectCommand code to BranchListWriter.
  simpleperf: split InjectCommand code to AutoFDOWriter.