Set proper ELF attributes for the ARM assembly functions

Fixes linking related fragility, which could result in crashes
when doing Thumb2->ARM function calls.

Reported-by: Luc Verhaegen <libv@skynet.be>
Signed-off-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>