Original code used the wrong type of `BLI_findstring` function, leading to the parameters being read incorrectly and the `MaskingLayer `duplicate check working incorrectly. This PR changed `BLI_findstring` to `BLI_findstring_ptr`, resulting in the `LayerMask` names being read correctly and the duplcate check working as expected. Pull Request: https://projects.blender.org/blender/blender/pulls/134295