xrootd: Fix compilation of backported session initialization

Target: 2.11, 2.10
Require-notes: no
Require-book: no
Acked-by: none
(cherry picked from commit 9d1e2728d62cbf36abef623ad8612346a22c9c10)