Alexandre Julliard : wrc: Add a helper function to terminate the resource data.