'changed' key is not defined when task fails

fix KeyError introduced by fix of #6591.

For example when a parameter is misspelled (here `ower` instead of `owner`) , a `KeyError` exception is raised:
```
- name: Generate /etc/hosts
  template: src=hosts dest=/etc/hosts ower=root
```