chsmack: split option scan in two parts
chsmack: split option scan in two parts

It prepares the futur option to remove smack labels.
It also separate the validation of the labels what can
improve the readability of the code.

Also add a check that the option transmute isn't repeated.

Signed-off-by: José Bollo <08496fd66cc394b517cafa0b18bcb9ce79fe4230@open.eurogiciel.org>

jobol/smack,smack-team/smack,jobol/smack,smack-team/smack