Replace flock with XrdOuc utils to fix comilation error on Solaris.