env: avoid build error for boards without CONFIG_SYS_{CPU, BOARD}