[PATCH openEuler-5.10 19/24] firmware: arm_scmi: Fix range check for the maximum number of pending messages