Refactor nghttp2_adjust_local_window_size