Surround NVIDIA_SHMEM for relevant code

This file was missing NVIDIA_SHMEM protection while including the shared
memory header file sharedMemCommon.hpp

Google-Bug-Id: 437731307
Change-Id: I212bb5b341bb3bdaa3087badbc5fce2b7a46067d
Signed-off-by: Akshat Jain <akshatzen@google.com>
diff --git a/nsmd/nsmCommon/nsmPcieGroup.cpp b/nsmd/nsmCommon/nsmPcieGroup.cpp
index 79bfe55..a6fa1d3 100644
--- a/nsmd/nsmCommon/nsmPcieGroup.cpp
+++ b/nsmd/nsmCommon/nsmPcieGroup.cpp
@@ -6,9 +6,9 @@
 #include "nsmCommon/nsmPcieGroup.hpp"
 
 #include "libnsm/pci-links.h"
-
+#ifdef NVIDIA_SHMEM
 #include "nsmCommon/sharedMemCommon.hpp"
-
+#endif
 #include <phosphor-logging/lg2.hpp>
 
 namespace nsm