main.c: fix another potential buffer overflow in strncat() call

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