Make buffer_t struct externally visible.

This makes buffer_t allocatable on the stack. This is yet another optimization
to prevent heap allocations for the general case.