Add dst_size parameter to character conv funcs

Character conversion functions did not previously ask for a maximum
buffer size for their 'dst' parameter, it's unsafe to assume some given
destination buffer may have enough size to accommodate a conversion.
Fix a few warnings on windows
Fix ffmpeg/x264 find modules according to cmake find module naming conventions
Add Libfdk find module
Add libfdk encoder