fix buffer_append_vprintf

Signed-off-by: Wang Zhen <yuchen12@gmail.com>