theora: Split yuv_buffer creation into its own function