Tweak include/lib dir detection in ffi.py

This is similar to what's done in setup.py by using sane defaults,
instead of just failing if git2.h is located in /usr/local .