[PATCH v2 05/15] riscv: misaligned: move emulated access uniformity check in a function