let XB_FIND_SONAME define *_FILENAME also for apple
[configure] properly detect if curl was compiled statically with openssl
fixed: some issues pointed out by valgrind

SPLIT ME
fix: pebkac with gradient banding

Yes, there was an issue with the gradient banding,

So proper gradient file size is around 30+KB per file with a flat color
it both small and nice.
TestUtils.cpp: fix: add .c_str() to CSpecialProtocol::TranslatePath()
[rbp] Add config.txt settings to log file
[pi] Fix for logged resolutions

There was a regression to logging messages introduced by #4710.
We need to make sure logging calls occur after resolution strings are updated
[omx] Remove logging for texture jobs

This causes a lot of log spam which hasn't proved useful so far.
Merge pull request #5048 from wsnipex/ssl-fix

[configure] properly detect if curl was compiled statically with openssl
[addons] sync with repo
[pvr] recover lost functionality for CONTEXT_BUTTON_MENU_HOOKS
Merge pull request #5051 from FernetMenta/valgrind

fixed: some issues pointed out by valgrind
ffmpeg: fix deadlock caused by calling avctx->thread_count after codec_open
Merge pull request #5078 from uNiversaI/icons2

fix: pebkac with gradient banding
Merge pull request #5087 from popcornmix/logresolutions

[pi] Fix for logged resolutions
Merge pull request #5088 from popcornmix/logspam

[omx] Remove logging for texture jobs
Merge pull request #5086 from popcornmix/configtxtlog

[rbp] Add config.txt settings to log file
Bump audioencoders to master
[pvr] recover lost functionality for CONTEXT_BUTTON_FIND
WASAPI: fix empty audio device in settings dialog after c401513a2994c09ca07f860e3a044f90d79ee710