ramdisk: Configure KSM

Based on recommended settings from: https://source.android.com/devices/low-ram.html

Also enabled CAF's KSM deferred-timer feature for lower power consumption.
Revert "ueventd.pyramid: Remove permissions for 2D GPU"

This reverts commit 2e286d352558811bef1c440f57ec8428e76a7b0a.
ramdisk: Enable kernel thermal mitigation on post boot