Fix marking threadasm.S as not requiring an executable stack.

- Use of @progbits breaks on ARM, use %progbits instead.
- Works only for ELF files.

See https://wiki.gentoo.org/wiki/Project:Hardened/GNU_stack_quickstart for more info.