stolen from CM:
libgui: Add ICS/MR0-compatible client::createSurface constructors
Stolen from CM: Add MemoryHeapPmem (11b423f953b0fae673231cc4b30caa992d4f7b8b)
Legacy compatibility: add missing dummy functions
Merge remote-tracking branch 'aosp/jb42' into jellybean