h265parser: strictly follow 7.4.8
h265parser: strictly follow 7.4.8

we need check num_negative_pics and num_positive_pics which read from stream.

Change-Id: I0c69e7bd2dcb6995b390cfae1bb780b516a6a7ed
Signed-off-by: Xu Guangxin <0f669b203965911dd47bd63faa23578e608c888e@intel.com>

YuJiankang/libyami,chivakker/libyami,seanvk/libyami,chivakker/libyami,dspmeng/libyami,01org/libyami,seanvk/libyami,YuJiankang/libyami,yizhouwei/libyami,dspmeng/libyami,clearlylin/libyami,yizhouwei/libyami,uartie/libyami,YuJiankang/libyami,yizhouwei/libyami,lizhong1008/libyami,uartie/libyami,seanvk/libyami,chivakker/libyami,stripes416/libyami,uartie/libyami,stripes416/libyami,lizhong1008/libyami,zhaobob/libyami,dspmeng/libyami,zhaobob/libyami,zhaobob/libyami,clearlylin/libyami,stripes416/libyami,01org/libyami,lizhong1008/libyami,01org/libyami,clearlylin/libyami