[PATCH v6 09/14] riscv: misaligned: move emulated access uniformity check in a function