Add vn_path_to_global_path_hardlink
This is similar to vn_path_to_global_path but allows for regular files
which may not be present in the cache.
Reviewed by: mjg, kib
Tested by: pho
(cherry picked from commit 78d35459a2586da024ac18e8768b44893c7184e7)