avcodec/h264_slice: clear frame only on gaps when it is not otherwise initilaized