Os: add Write() method

If we're going to dump log messages, we need to
be able to write to a file descriptor. Plumb up
write(), via Os::Write().

Bug: 31997280
Test: ./runtests.sh

Change-Id: I0ebdf2f33dd1f458116e9bbf51ae82e51d107d42
7 files changed