Add helper macros for creating a stack buffer.