Update libgit2 source code (1312f87)

* Update libgit2 to commit
  1312f87b6838649cca525935656c84c7bd07a9a1 from 2014-09-17

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