Limit parseInt radix check to ES3 only

Fixes #1253