Fixes related to slice lmcs enabled flag (JVET-Q0346 aspect 1)
This MR includes two suggested fixes related to setting of aps id for lmcs and applying InvLUT based on the value of slice lmcs enabled flag. The problems were reported in comments to !1437 (merged)