fix some compiler warnings

Change-Id: Icaa0218656905f3dfc9665a998919bfe15c37b63
update gralloc for current portal interfaces

Change-Id: I28150f1fcd306cb8b00d766ac376c9071981b019