Mark _init and _fini as Thumb functions if compiled in thumb mode.