fix kernel multithread example - missing initialization of local
variables

Signed-off-by: Or Kehati <ork@mellanox.com>

Change-Id: Ic22b726398748ad70263cde8607eed29f1663468