graphics: Add directives for compatibility with older EGL blobs (2/2)

Port from CM9.
Original author Ricardo Cerqueira (commit
fc496c0607d0d2863ff9587019e890ab806ea49d)

Change-Id: If30f10f1d4b26547d1219e2ba05f6a831b8fbff8

Conflicts:
	libs/ui/GraphicBufferAllocator.cpp
	services/surfaceflinger/DisplayHardware/DisplayHardware.cpp