fix for MR !1236
- compile fix for macOS
- initialize rectangular slice map before using it for subpictures
Note: I created accessor functions for m_subPicID (which was unused), because I expect it to be used in the future. It should be removed, if it's not used.