Cleanup endian_utils.h

Rewrite the endian_utils.h functions to use normal endian.h functions.
Also remove some unused functions.

Test: build
Test: manual DDMS.
Change-Id: I4bc80bf2e6b74a72844a5a4f296b3e34e80c7343
1 file changed