ApplyBucketDiffState uses std::optional, add needed include.
#include <vespa/vespalib/util/retain_guard.h>
#include <future>
#include <memory>
+#include <optional>
#include <vector>
namespace document { class DocumentId; }
