Fix out-of-bound read in token_costs array

This resolves the unit test failure case at
AV1/AVxEncoderThreadTestLarge.EncoderResultTest/1

Change-Id: I9f3aaaf5498177cb3623cb8806a40f812e20609d
1 file changed