Fred Weasley was not hit by Avada Kedavra. In Deathly Hallows, he dies during the Battle of Hogwarts from an unspecified explosion while fighting alongside Percy.
The novel states: "Fred was hit by something... a blast of light... and he fell." Per Percy: "He was laughing... then he just stopped."
Rowling intentionally left it ambiguous—war's randomness. The film shows a generic explosion; no specific caster.