security/snowflake-tor: Fix build port
While here make small optimizations.
PR: 291387
Tested by: leres
Approved by: egypcio (maintainer, timeout)
NFH: 2026Q1
Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
(cherry picked from commit e6588e0017e2c180100429cb834afa6f3af57bd6)