libsmack: avoid sprintf() when printing rules in long format