x86: h264_weight_10bit: port to cpuflags