(ITS#6223) [patch] snprint() fix in guess_service_principal()