Don't rely on transitively included headers

The vendor variant of log/log_time.h no longer includes time.h. As a
(good) side effect, the places that implcitly relied on the hidden
dependency are breaking. Fix it.

Bug: 37629934
Test: build with BOARD_VNDK_VERSION=current
Change-Id: I73ffef2a1e250c1ad28b193def7e5a315453227a
1 file changed