gf_vsnprintf() (the implementation of vsnprintf() provided for the case HAVE_VSNPRINTF is false) has its first argument named str, but references it as buffer throughout the function body. This PR renames the argument from str to buffer to match the body.