Implements __clear_cache for RISC-V Linux.
We can't just use fence.i on Linux, because the Linux thread might be scheduled on another hart, and the fence.i instruction only flushes the icache of the current hart.
Fixes the failures of the compiler-rt tests clear_cache_test.c and enable_execute_stack_test.c for RISC-V.