EndianUtils: added GCC pragmas to prevent cast errors via bswap_X().
Added some FIXMEs for GCC/libstdc++ 4.7.3
IO: added dynamic_streambuf; shim for traits_type with borked GCC.