[config] Add HB_NO_OT_LAYOUT

Part of https://github.com/harfbuzz/harfbuzz/issues/1652
diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc
index 10b9ba0..846c2b0 100644
--- a/src/hb-ot-layout.cc
+++ b/src/hb-ot-layout.cc
@@ -28,6 +28,10 @@
  * Google Author(s): Behdad Esfahbod
  */
 
+#include "hb.hh"
+
+#ifndef HB_NO_OT_LAYOUT
+
 #include "hb-open-type.hh"
 #include "hb-ot-layout.hh"
 #include "hb-ot-face.hh"
@@ -2000,3 +2004,6 @@
 			   hb_position_t           *coord        /* OUT.  May be NULL. */);
 
 #endif
+
+
+#endif