hwc2: Always store a release fence if a layer is presented

If the layer goes to GPU composition, there is no release fence
saved for it. When it comes back to SDE composition the fences
are no longer deferred. Fix this by always pushing a -1 release
fence for GPU composed layers.

Bug: 29642583
Change-Id: Ic8c46296133c119e7a2c4da2089fe7b37a03bd31
diff --git a/sdm/libs/hwc2/hwc_display.cpp b/sdm/libs/hwc2/hwc_display.cpp
index 868b0f7..d6b2328 100644
--- a/sdm/libs/hwc2/hwc_display.cpp
+++ b/sdm/libs/hwc2/hwc_display.cpp
@@ -884,6 +884,8 @@
       } else if (layer->composition != kCompositionGPU) {
         hwc_layer->PushReleaseFence(layer_buffer->release_fence_fd);
         layer_buffer->release_fence_fd = -1;
+      } else {
+        hwc_layer->PushReleaseFence(-1);
       }
     }