lavf/utils: add some const to pointers parameters in a few functions