buffers: add compile-time option to set buffer alignment