Fix missing reference frames in h264 decoder

When decoding doesn't start with a keyframe there would be
uninitialized surfaces in the reference list.