Simply removing the line does it as `LayerStdName` is not being used
anywhere apart from a commented out logging statement. I'm not entirely
sure how this broke, as the binding is still exposed in https://
docs.kicad.org/doxygen-python-nightly/namespacepcbnew.html.