[FrameworkBundle] Fixed validator factory definition when the Validator API is "auto" for PHP < 5.3.9