move __abort_lock to its own file and drop pointless weak_alias trick