ftrace/scripts: Fix incorrect use of sprintf in recordmcount