Remove use of deprecated gralloc APIs.

In gralloc v1, the lock/unlock methods that do not take a sync
fence have been removed. Port the libmix/videoencoder module to
use the newer methods which are also available in gralloc v0.

This change also ports libmix/videoencoder to use the new GPU
DDK interface.

Test: Manual, youtube video worked
Bug: 34625842
Change-Id: I7eb3cfb290faa87d2a501bfaaf15b6df9c6e6744
2 files changed