[PATCH 6.6 198/290] tee: Prevent size calculation wraparound on 32-bit kernels