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