common/: Remove lingering references to CFG_CMD_* symbols.

Fixed some broken instances of "#ifdef CMD_CFG_IDE" too.
Those always evaluated TRUE, and thus were always compiled
even when IDE really wasn't defined/wanted.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
diff --git a/common/cmd_diag.c b/common/cmd_diag.c
index 091e3c8..cb99b77 100644
--- a/common/cmd_diag.c
+++ b/common/cmd_diag.c
@@ -77,4 +77,4 @@
 	"         - run specified tests\n"
 );
 
-#endif /* CFG_CMD_DIAG */
+#endif