The Venezuelan government has said opposition presidential candidate Edmundo González has left the country, seeking asylum in Spain.