Fix gcc-isms in TODO/FIXME/WARNING macros
(silence a gcc warning)
(silence gcc warnings)
(silence gcc warnings)
malloc_aligned and related changes:

1. Replace platform-specific test with portable autoconf check instead
2. Move malloc_aligned and related macros/functions into separate header