[PATCH 5.15 09/37] firmware: arm_scmi: Improve checks in the info_get operations