[PATCH 6.2 140/141] RISC-V: fix taking the text_mutex twice during sifive errata patching