Fix svm intro tutorial

This is fix for [bug #3605](http://code.opencv.org/issues/3605).
Before was https://github.com/Itseez/opencv/pull/2716, rebased onto 2.4