Binaryen has some optimization options, such as `closedWorld`, which affect some optimization passes. We should add an API to set these options.