Fixed stack buffer overflow

Bugfix: 25812590
Moved check for numCoeffs > 64 inside the coeff decode loop

Change-Id: I444b77ef2a3da9233ec14bb72ac70b7e2fa56bd1
(cherry picked from commit ff3496c45c571da7eb93d6f9f05758813468fc72)
