[RFC PATCH v1 04/28] riscv/Kconfig: enable HAVE_EXIT_THREAD for riscv