This change does the following:
- Adds a cached LLDB_ALLOW_STATIC_BINDINGS variable, defaults to off/false
- If specified, flips on the --allow-static-binding flag to prepare_bindings.py
- Removes the REQUIRED marker in cmake-based swig discovery, but adds a fatal error for cmake if swig isn't found when LLDB_ALLOW_STATIC_BINDINGS is also not set. i.e. unless -DLLDB_ALLOW_STATIC_BINDINGS=1 is specified on the command line, not finding swig will fail the cmake step as before.
As noted in a prior thread, I will be happy to rip this out once we no longer require swig via other means. This can be considered temporary until that time.