Check if $comment is object before accessing property
Check if $comment is object before accessing property

Fixes "Notice: Trying to get property of non-object" in
certain contexts (e.g., archive pages).

dshanske/wordpress-semantic-linkbacks,dshanske/wordpress-semantic-linkbacks,pfefferle/wordpress-semantic-linkbacks,pfefferle/wordpress-semantic-linkbacks,dshanske/wordpress-semantic-linkbacks,acegiak/Semantic-Linkbacks,pfefferle/wordpress-semantic-linkbacks,acegiak/Semantic-Linkbacks,pfefferle/wordpress-semantic-linkbacks,dshanske/wordpress-semantic-linkbacks