[PATCH 6.1 436/508] tee: Prevent size calculation wraparound on 32-bit kernels