Chavez vows loyalty to Gaddafi