[PATCH 6.1 107/239] RISC-V: fix taking the text_mutex twice during sifive errata patching