R: fixed a graph.adjlist bug.

Need to convert input to integers, now that
the internal igraph_adjlist_t type uses
integer vectors.