Require refs and curpic to share the same chroma subsampling

Fixes #90.
8 jobs for master in 2 minutes and 25 seconds (queued for 3 seconds)