Merge changes Ic0dedbad,Ic0dedbad,I2d8c9319 into msm-3.0

* changes:
  gpu: ion: Check for NULL pointer in client destroy
  gpu: ion:  Add inline stubs for Ion functions
  gpu: ion: Add API to get the buffer flags