[XrdCl] Use auto_ptr in C++03 and unique_ptr in C++11