MemoryHeapBase: ifdef for gingerbread/froyo compatibility

This change is required to use overlay based proprietary camera libs
coming from gingerbread and froyo builds.

This change also requires a global cflag named BINDER_COMPAT
because a lot of modules use the MemoryHeap includes

Add this in your BoardConfig.mk :
COMMON_GLOBAL_CFLAGS += -DBINDER_COMPAT

Backported from /#/c/13317/

Change-Id: I919a2a89d5efa0eab5ef286979fcd823b62a363c
(cherry picked from commit 5ed802ec57a87d78008b13fc094fdb99ddc5206b)
Add overlay support for camera

Change-Id: I4089f2ba9d4a23af6ce53e9d1ece08260511502d