[XrdCl] Add missing header
[XrdSys] Fix a race in the LinuxSemaphore