Add bionic support to endian.h am: 0b3ea84b83
am: c7689501a3

Change-Id: I73c25c7533d74989953f0c6da768fa5e9702e4db