xrootd: Fix compilation of backported session initialization

Target: 2.11, 2.10
Require-notes: no
Require-book: no
Acked-by: none