btl/openib: fix compilation issues with XRC