[XrdCl] Fix a race condition in the filter handler
[CMake] Use stricter gcc flags globally
Fix more gcc complaints