Revert "Merge remote-tracking branch 'cfx/kk-devel' into HEAD"

This reverts commit 4698680d7fb58e2a906bc5ef611a3b0081d2d2c0, reversing
changes made to a58529ef2a523510e68b758d00e309157a25eacd.

Conflicts:

	common.mk
	libhwcomposer/hwc_utils.cpp

Change-Id: I4a6dee153f7e9f935c558de19a44d469bf17bcc5
libhwc: Lower optimization level
caf: hwcomposer: build with gcc

Summary: Workaround tricky inline functions

Test Plan: verified

Reviewers: jriordan001, randall.rushing, synergy

Reviewed By: synergy

Differential Revision: http://review.codefirex.com/D657
Revert "Fix compilation with GCC 4.8"

This reverts commit b920ea0fde47ac9b0d25045db9200e5b400b75da.

Conflicts:

	libhwcomposer/hwc_utils.cpp

Change-Id: Ib50f38aa9a97402693900397ab456160cd88f5c3
Reconcile hwc_utils a bit

Change-Id: I6de2ae95592045ba6c92789cebed723f11991385