[PATCH v2] riscv: ae350: Use #if defined instead of CONFIG_IS_ENABLED