domx: if low on secure mem use heap
Merge remote-tracking branch 'kfire/cm-11.0' into cm-11.0