psa-crypto: fix OVERFLOW_BEFORE_WIDEN defects reported by Coverity

Signed-off-by: Alexandre Gonzalo <alexandre.gonzalo@arm.com>
Change-Id: Iebd464fd7d7037a73f82c391438eeeb7a8c91df9
2 files changed