Finds the element in a #GSList which contains the given data.
the found #GSList element, or null if it is not found
a #GSList
the element data to find