Makes SAGA supervised classification work also with SAGA 2.0.8, fixes #8715

Contributed by Luca Congedo.