libgralloc: Add support for TARGET_HAS_OLD_QCOM_ION