msm: kgsl: Add a helper function for getting device platform data

Add a simple helper function to make it easy to get the platform device
data from a kgsl_device pointer.

Change-Id: Ic0dedbad334aa86e8c8fe4150303bca494693778
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>