Classification of the impact parameter in nucleus–nucleus collisions by a support vector machine method