Move and adapt `os_get_absolute_path` unit tests to `vim_FullName`

Make `os_get_absolute_path` static