[PATCH 5.19 09/48] firmware: arm_scmi: Improve checks in the info_get operations