zaml: speed micro-optimization for Time output
This is a minor reduction in the time spent outputting times in the ZAML
encoder, by using a (30 percent) faster mechanism to trim the generated ms
value down.
There is a minor reduction in memory load, but not anything substantial.
Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>