Reordered buffer_t components to be in strictly decreasing size

This dodges some nasty struct packing bugs when different tools disagree.
native client demo works on os x (and has configurable thread pool size)