fix warnings in libshogun examples
Merge pull request #1420 from votjakovr/hotfix/warnings

Fix warnings in libshogun examples