[runtime] Get rid of the wapi_thread_interrupt_self () and the has_apc flag, it doesn't seem to be needed.