Properly record timed out builds

This corrects a logic error where timed out builds were recorded as
ABORTED. They should be recored as TIMED_OUT instead. Update the tests
which asserted the incorrect result as well.

Change-Id: Ibc07a87a42dbd8de3ae78dfeedc5c8260c9c0153
2 files changed