Fix two issues in RPL related constraints
Two issues were observed from MR!1690. Basicaly, the following two fixes are provided here:
- The reference picture lists constraints for subpictures are checked for each slice instead of each subpicture
- Use pRPLX instead of m_pRPLX for inter-layer pictures in function checkRPL()