temp/arm-trusted-firmware: fix build on gcc 12
Apply the same fix as in Alpine: https://gitlab.alpinelinux.org/alpine/aports/-/commit/769f9666b663ba06dca63ddbff6eb1af458355f3
Apply the same fix as in Alpine: https://gitlab.alpinelinux.org/alpine/aports/-/commit/769f9666b663ba06dca63ddbff6eb1af458355f3