[libvirt PATCH v2 3/7] tests: virfilemock: realpath: Allow non-null second parameter