Influence of topological constraints on ion damage resistance of amorphous hydrogenated silicon carbide