Use a constant for unset timeouts or deadlines

Previously there were some inconsistencies over whether to use -1 or 0
for `stime_t` values representing "unset" or "none". This change makes
all those cases use -1, and adds a constant to represent that.

BUG=none
TEST=unit tests and touch tests

Change-Id: If2d392da4da9c58bf4e6969c1f37ab4b746f4483
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/gestures/+/2152859
Tested-by: Harry Cutts <hcutts@chromium.org>
Reviewed-by: Sean O'Brien <seobrien@chromium.org>
Commit-Queue: Harry Cutts <hcutts@chromium.org>
19 files changed