buffer: do not call v8::AsciiWrite for zero-buffer

buffer.data_ is NULL in this case and, for some reason, v8 3.14 on
smartos doesn't handle this well (simple/test-buffer is crashing).

Suggested reviewer: @bnoordhuis