configure: fix build when ffmpeg Makefiles use CONFIG_THREADS

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36545 b3059339-0415-0410-9bf9-f77b7e298cf2