kernel-shark: Optimize the error messages when "Record" fails to start

Removing duplicate code.

Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com>
2 files changed