memoize activity manager graphics acceleration check

also account for devices without hardware rendering support

Change-Id: Ib400d85a261d9c5d0fd5770d6cda5f61832cba6b
Merge "memoize activity manager graphics acceleration check" into pac-4.4