swf_respond_activity_task_failed function

Used by workers to tell the service that the ActivityTask identified by the taskToken has failed with reason (if specified)