Tasering an elderly woman who was shuffling forward with a knife was not meant to be fatal but was a reasonable way to deal with the threat, the officer who fired the weapon has told a jury.