libprocessgroup: Better error checking for string -> int conversion

There are a few calls to strtol which don't check errno for conversion
failures. android::base::ParseInt does a better job with the error
checking so switch over to that from readLong.

Change-Id: I812922bf16414608ff226b45b147a9ec3213d01e
1 file changed