Fix a crash when initializing an Annot with a null catalog

Forms crate a temp annot just to get the font size of the form field
passing a NULL catalog.
diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 76a7cb1..45d063d 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -958,7 +958,7 @@
   }
   obj1.free();
 
-  optContentConfig = catalog->getOptContentConfig();
+  optContentConfig = catalog ? catalog->getOptContentConfig() : NULL;
   dict->lookupNF("OC", &oc);
   if (!oc.isRef() && !oc.isNull()) {
     error (-1, "Annotation OC value not null or dict: %i", oc.getType());