common/ non-cmd: Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).