Warriors' Ellis out at least 3 months after ankle surgery