Add a comparison function for Wcsprm objects.