Fix compiler warnings in 'ml/svm.cpp'

Fix compiler warnings introduced by #514.