hevc_enc_fuzzer: Bug Fix am: 8f2ee8fa78 am: 34586b9465

Original change: https://android-review.googlesource.com/c/platform/external/libhevc/+/1505712

Change-Id: Ic4017c831c4ca0588fc9bb5ff428107041978598