vp3: Reorder some functions to fix VP3 build with Theora disabled.