vulkaninfo: Add more portability macro guards

Previous commit didn't contain all that were necessary.

Change-Id: I0983beb06d95dd316ece5b7ba52754e4ad180cbd
diff --git a/vulkaninfo/vulkaninfo.cpp b/vulkaninfo/vulkaninfo.cpp
index dba8658..d771bf8 100644
--- a/vulkaninfo/vulkaninfo.cpp
+++ b/vulkaninfo/vulkaninfo.cpp
@@ -1008,7 +1008,9 @@
                 }
             } else if (p->Type() == OutputType::json) {
                 if (portability_json) {
+#if defined(VK_ENABLE_BETA_EXTENSIONS)
                     DumpPortability(*p.get(), *gpus.at(selected_gpu).get());
+#endif  // defined(VK_ENABLE_BETA_EXTENSIONS)
                 } else if (json_output) {
                     DumpLayers(*p.get(), instance.global_layers, gpus);
                     DumpGpuJson(*p.get(), *gpus.at(selected_gpu).get());