Modernize code to cpp11

clang-modernize -use-nullptr -loop-convert -for-compilers=clang-3.4,gcc-4.8 -risk=risky -summary -p openh264 -include openh264