build: tail: avoid type/format mismatch warning from gcc