Allow Tor Browser to optionally use different memory allocators
Various external issues:
- https://github.com/secureblue/secureblue/issues/171
- https://github.com/secureblue/secureblue/issues/293#issuecomment-2248466650
This can be accomplished by building with --enable-replace-malloc