simpleperf: move GetCpusFromString() to utils.cpp

Move the GetCpusFromString() to utils.cpp so that it can be used by
event parsing code in event_type.cpp.

No functional change intended.

Test: build test only
Change-Id: I626b8146f90bf8bb161ce8574bcf70f6600c8ad3
6 files changed