[PATCH v2 1/3] d3drm: Check for NULL pointer in d3drm_viewport2_GetDevice().