[safestack] add an helper to emit an ELF SafeStack note