Fix HEVC profile idc parsing in HevcParameterSets

The code forgot to skip 3-bit vps_max_sub_layers_minus1
and parsing result is wrong.

It also has a typo that sets the profile in hvcc to a
fixed constant 2. As a result, the generated mp4/heif
always has a profile 2.

bug: 77728869
Change-Id: I479bca3eb76ae0948341190cce8ee4aa7888b084
3 files changed