[PATCH v2 03/27] riscv/Kconfig: enable HAVE_EXIT_THREAD for riscv