Sarah Michelle Gellar just shared some incredibly timely words about the secret to long-lasting love