Zohran Mamdani previously called to end sanctions on Venezuela, partly blamed penalties for US migrant crisis