statsd: Use proper Gearman constants.

Change-Id: Ib9d46937b2800b9d93c60cd56ab9e6f086d67e98
statsd: Make ping timeout values configurable.

Change-Id: I28713bdc9203939e56e1dd8dc0b74ecd275487a2