h26xbasepasrse: Introduce base class for h264/h265 parse
Submitted by Seungha Yang
Link to original bug (#797210)
Description
Due to the structural similarity both h264 and h265 parse element have
common/duplicated implementation and they could be unified by using
this base class.