[PATCH v5 08/13] riscv: misaligned: move emulated access uniformity check in a function