dav1dplay: Rebase on top of modern libplacebo
This code was moved from dav1dplay to libplacebo itself, where it will hopefully be more useful. I also made various fixes and improvements in the process. Rather than backporting everything to dav1dplay, I think it makes sense to rebase it on top of modern libplacebo instead.