JNI: NewDirectByteBuffer should allow 0 length buffers.

Info here: https://android-review.googlesource.com/#/c/73175/3/

Change-Id: I45dbe97ebc340864557a5fb373ed0d43e754f58a