Applied a change from 555c505b to 3rdparty/tbb/CMakeLists.txt.

Odd that it wasn't merged automatically...
Removed some dubious FFmpeg hack that no longer works.
Decoupled test_ffmpeg.cpp from ffmpeg_codecs.hpp.

This should actually remove the need for the workaround from
the previous commit.