avformat/format: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avutil/opt: remove disabled old ABI compatibility code

Fixes some unused variable warnings

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