attributes: disable flatten on llvm/clang
wtv: fix variable sign in format
ansi: fix possible use of uninitialized variables
rtmpproto: Reorder conditions to help dead code elimination

This makes sure that these branches are eliminated properly
with clang with optimizations disabled.