Merge "WebmWriter: avoid overflow when bit twiddling" into nyc-dev