nghttp2_pack_settings_payload: added a buffer size argument

To make it less likely that a user gets a buffer overflow if a
too small buffer is used.