lavc: Add hwaccel private data and init/uninit callbacks