Make StringRef::getAsInteger work with all integer types. Before this change