The word anathema simply means "accursed." The word maranatha means "Lord, come."
"Whoever doesn't love Jesus, let him be accursed." Is this a word of harshness? I don't think so. I think Paul took pen in hand to plead with the Corinthians, saying, "If you don't love the One who is altogether lovely, the One who died for you, the One who cares about you, the One who gave everything that He might be with you in this life and in the ages to come; if you don't love this One who is all-wise and all-knowing yet all-loving and all-forgiving, then you curse yourself. Maranatha. The Lord is coming. You need to make your decision."