[PATCH openEuler-21.03] arm64/mpam: fix device_errcode out of bounds