aws: fix conflicting variable names in aws_terminate()