[PATCH v5 06/23] FWU: stm32mp1: Add helper functions for accessing FWU metadata