diff: Add a callback to notify of unmatched pathspecs

Useful for libgit2/libgit2sharp#274