Mark strto* as readonly when the endptr is null.