SmallPathTracing: Using a common function to load kernel

Signed-off-by: Andre Luiz Viana Loureiro <andre.vl@samsung.com>