hwc: Drop alpha from writeback

The alpha in the writeback is unused right now. Force MDP to use
RGBX for composing writeback.

Change-Id: I3d92338ced8bb98fd0515107d84c306992a3c133
diff --git a/libhwcomposer/hwc_virtual.cpp b/libhwcomposer/hwc_virtual.cpp
index 51ade32..86d398c 100644
--- a/libhwcomposer/hwc_virtual.cpp
+++ b/libhwcomposer/hwc_virtual.cpp
@@ -132,8 +132,11 @@
         if(fbLayer->handle && !isSecondaryConfiguring(ctx) &&
                 !ctx->mMDPComp[dpy]->isGLESOnlyComp()) {
             private_handle_t *ohnd = (private_handle_t *)list->outbuf;
+            int format = ohnd->format;
+            if (format == HAL_PIXEL_FORMAT_RGBA_8888)
+                format = HAL_PIXEL_FORMAT_RGBX_8888;
             Writeback::getInstance()->setOutputFormat(
-                                    utils::getMdpFormat(ohnd->format));
+                                    utils::getMdpFormat(format));
 
             int fd = -1; //FenceFD from the Copybit
             hwc_sync(ctx, list, dpy, fd);