Use cstdlib std::abs instead of stdlib.h abs: Mac-specific code

Change-Id: I919b1a931145a49c32ec601109be083b49f10f7b