security/gostsum: Fix build on armv7
The build is fixed by adding some missing bits of assembly code.
Add some more assembly code for arm64 for good measure.
While we are at it, fix a warning due to a missing include file.
Approved by: portmgr blanket
MFH: 2023Q1 (build fixes)