Fix build with boost 1.91

Index: src/mongo/db/catalog/coll_mod.cpp
--- src/mongo/db/catalog/coll_mod.cpp.orig
+++ src/mongo/db/catalog/coll_mod.cpp
@@ -358,7 +358,7 @@ Status _collModInternal(OperationContext* opCtx,
         const auto sharedView = ViewCatalog::get(db)->lookup(opCtx, nss.ns());
         if (sharedView) {
             // We copy the ViewDefinition as it is modified below to represent the requested state.
-            view = {*sharedView};
+            view = boost::optional<ViewDefinition>(*sharedView);
         }
     }
 
