auto-detect ffmpeg for android

- using pkg-config to help find_library to find absolute path for ffmpeg libraries
- only use APPLE specific stuff if not already HAVE_FFMPEG
- PKG_CONFIG_LIBDIR env var must be set for android
- references for HIGHGUI_LIBRARY_DIRS removed
- fix: compilation with ffmpeg for android