Revert "Remove Qualcomm build adaptions"

This reverts commit 25e472beb940899fcfb6ed4e1f03d2fc64cbc0b9.
scripts: gcc-wrapper: actually parse warning messages

Change-Id: Ied9862be7601957aa6f3952a0f8970a6cbcb5563
misc: Fix GCC warnings

Change-Id: If5d614236f08e67f0de90fb5b2fa3bfc0dc2b72b

Conflicts:
	drivers/media/common/tuners/xc4000.c
	net/netfilter/xt_socket.c