[PATCH] libata-ncq: implement ap->qc_active, ap->sactive and complete helper