On the definition of the stacking-fault energy in binary alloys