main: Add way to disable OOM killer from being triggered
This might make it easier to get it merged into existing distributions, as an opt-in way to reduce memory consumption. Killing applications is still not something we can do as easily as on mobile platforms.