[openEuler-5.10 024/303] soc: aspeed: lpc-ctrl: Fix boundary check for mmap