Add CodeHelpers.throwInvalidRange() specializations