h264dec: check for overflows when calculating allocation size.

Bug: 27855419
Change-Id: Idabedca52913ec31ea5cb6a6109ab94e3fb2badd
(cherry picked from commit a3dd713893658baf50df88b261aba83bb0c40687)
7 files changed