IB/ipath: Fix SLID generation for RC/UC QPs when LMC > 0