Minor optimization in ValidatorServiceProvider

`ReflectionClass` is only needed if a translator is present. Moving usage of it inside the related conditional means one less object instantiation.