sdm: Exit from setting destination scalar if QSEED3 disabled

Check if hw_scale_ is NULL before accessing members.
If it is NULL, we should not be using destination scalar since
hw_scale_ is not created if qseed3 is disabled.

Change-Id: I2ebb10c15bab900f00112e647e7e81ca1ebc4dfd
diff --git a/sdm/libs/core/drm/hw_peripheral_drm.cpp b/sdm/libs/core/drm/hw_peripheral_drm.cpp
index 6420c13..340dc05 100644
--- a/sdm/libs/core/drm/hw_peripheral_drm.cpp
+++ b/sdm/libs/core/drm/hw_peripheral_drm.cpp
@@ -94,7 +94,7 @@
 }
 
 void HWPeripheralDRM::SetDestScalarData(HWLayersInfo hw_layer_info) {
-  if (!hw_resource_.hw_dest_scalar_info.count) {
+  if (!hw_scale_ || !hw_resource_.hw_dest_scalar_info.count) {
     return;
   }