cbs_h264: Fix writing streams with auxiliary pictures