objclass/class_debug.cc: reduce scope of 'n' in cls_log()

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
test/*fsx.c: reduce scope of some char variables

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>