[PATCH 6.14 072/145] LoongArch: Fix MAX_REG_OFFSET calculation