goldfish-codecs: fix config crash

This is a cherry-pick of ag/2069510
from frameworks/av project.
whithout it, the decoder hal will crash right away
during config.

Bug: 231082382

Change-Id: I9351a4d105e136282dd179119fe1da9088609008
1 file changed