Merge "Change NewDirectByteBuffer to allow NULL if capacity == 0."