Add compatibility with old ION API
Devices requiring the old API need to set TARGET_HAS_OLD_QCOM_ION=true in their board configs.
Thanks to rmcc/CM