[libyaml] upstream's patch to guard against overflows in indent and flow_level