frameworks/av: Fork for C++11 and aliasing fixes.