element.py: Extract __extrace_sandbox_config to a cython module

__extract_sandbox_config takes roughly 1.5% of our runtime in our benchmarks.

Moving it to cython allows us to regain part of this time and speeds
up all buildstream's invocations.
2 files changed