[util] tprintf: remove trailing '0' on floating point prints