[shared] fix compiler warnings
[config] fix compiler warning
[os_crypto] fix compiler warnings
Revert "[shared] fix conversion warnings in 'custom_output_search_replace.c'"

This reverts commit 6d1ac9df0032ac854c20dd472d10c4ba941fd9f0.