Check fetch_heads argument in C function git2r_merge_fetch_heads

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>