avcodec/dv_profile: deprecate internal function that shouldn't be public

Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
tests/utils: make arguments const that arent changed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>