Define __WORDSIZE like glibc.

Requested by Google Breakpad, but seems to be assumed to be defined
in various places in the AOSP tree already; iputils, wpa_supplicant,
et cetera.

Change-Id: I1f7833c98e0af4c77e49744c08b8239061c9a571

Conflicts:
	libc/include/sys/cdefs.h
Fix compile warnings

Change-Id: I84c97a0345031226e04999701345ceaf4b535dde
Add missing #include

Change-Id: I8208673eef9eb43bb3028715528a9aba55a871d6
Fix inlining with g++

Add __GNUC_GNU_INLINE__ for g++. Without the fix, g++ does not always
inline the functions and may emit weak symbols of these functions.

Change-Id: I2d5fae1c557629a7039fb20510819f262c6ae44c
Remove unused variable

Change-Id: I9ca3664ca9f9e40d9a9a27b33246c9d52c7ad0a4