Do not clamp to INT32 if not necesarry

All methods involved here accept strings. No reason to cast to
integer and lose precission on 32-bit PHP installations.

Change-Id: I4e10d8b5773468977efb2c94e0ec23ab9f77bc65