aviobuf: Add functions for null buffers