Only try gathering writes if we have more then one buffer to write. Part of [#2680].