fix possible crashes of not NULL-checking the result of icalproperty_get_attendee()