sde-drm: Add checks and initialize variables

This change adds null pointer checks and initializes some variables
on the sde-drm files.

Change-Id: I28f2a530563df6ed6870da6ee0fdb7cb38e2630a
CRs-Fixed: 2727719
3 files changed