Extract ParcelableUtils to avoid code duplication

Currently the SAFE_PARCEL macros are copies on multiple places.
This CL extracts them in a single ParcelableUtils.

Additionally in SAFE_PARCEL also the stringified error is printed.

Bug: 179116474
Test: presubmit
Change-Id: Ie09c3a9753b5742be14fe3cdb0061d5c64465e66
diff --git a/libs/gui/ScreenCaptureResults.cpp b/libs/gui/ScreenCaptureResults.cpp
index f3849bc..e91f74f 100644
--- a/libs/gui/ScreenCaptureResults.cpp
+++ b/libs/gui/ScreenCaptureResults.cpp
@@ -16,6 +16,8 @@
 
 #include <gui/ScreenCaptureResults.h>
 
+#include <private/gui/ParcelUtils.h>
+
 namespace android::gui {
 
 status_t ScreenCaptureResults::writeToParcel(android::Parcel* parcel) const {