osx: Add support for zero copy video rendering with VDA
metadata: Split metadata.c into multiple files
backend/image: Fix broken locking around image loader