Add and use STATIC_ASSERT for compile-time asserts, and remove some 32-bit limits.

This started with the question "are the fields in struct statfs really 64-bit?",
but grew a bit. I'll need ftruncate64 in bionic before we can kill
offsetTooLarge completely.

Change-Id: Ia1dcda49e2c93c3cb0f9efe61a70c667c1415bee
5 files changed