HBSD: Resolve "set but unused" compiler warnings
Backport in 13-stable to fix issue #82 (closed).
Conflicts:
sys/hardenedbsd/hbsd_pax_hardening.c
Signed-off-by: Loic <loic.f@hardenedbsd.org>
Reported-by: @mrunix
Signed-off-by: Shawn Webb <shawn.webb@hardenedbsd.org>
(cherry picked from commit 254435db4c6680049669092174b43797432c407e)