Makefile.ffmpeg: do not try to use pkg-config to look for system libs
httpc: fix the EOC test in http_client_data_chunked()
tcp: fix error msg
imagecache: fix global mutex deadlock