io context: increment task attachment count in ioc_task_link()