tmpfs: Fix error being cleared after commit c12118f6cec0
In tmpfs_link() error was erroneously cleared in commit c12118f6cec0.
Sponsored by: The FreeBSD Foundation
MFC with: c12118f6cec0
(cherry picked from commit a48416f844e3007b4e9f6df125e25cf3a1daad62)