[PATCH 2/6] board_r: env: Use IS_ENABLED() instead of #ifdefs