avoid shadowing built-in `buffer` type in states.syslog_ng._build_config

Rename local var: `buffer` => `buf`