Fix #1190: the picture type check for bitstreams that have mixed nal unit types See merge request !1759