display-legacy: fix gralloc module

Change-Id: I0b596a3193114eedc806905749854f1b60aa7a77

Conflicts:
	libgralloc/gralloc.cpp
fix stupid build error

Change-Id: I7941414dd953f795e7daf300faee0df5cb4b7b35