Simplify gralloc version selection

Change-Id: Ifdb8e1da6500fce12020a14b7967dafd5576712c
Merge "Simplify gralloc version selection" into cm-10.1