Check usage of registered symbols

* tools/build_Makevars.r (check_git2r_use_registered_symbol): Add
  functionality to check that .Call use registered symbols.