Enhance db dump performance

BufferedOutputStream can enhance db dump performance.
Especially, if the data for dump is bigger
and the dump is being processed in the main thread,
it could cause ANR for slow performance.

Change-Id: Ia9c8f0ca22e0b829ee983a3cb78e9757654b9a35
Signed-off-by: jangwon.lee <jangwon.lee@lge.com>
Xcode 4.3 compatibility checkin

The Xcode 4.3 compiler will only accept %z (lower case), and considers
%Z to be an invalid format specifier.

This patch adds a preprocessor conditional to provide a %z version of
the formatting strings when the Xcode 4.3 compiler is used.

Change-Id: I742a7832caa4b757240f206c1e09736bfc10d9e2
Signed-off-by: Al Sutton <al@funkyandroid.com>

Conflicts:
	libs/rs/rsFifoSocket.cpp