Impossible. Avifors (transfigures target into a bird) is not in the Goblet of Fire PC game. It appears in Order of the Phoenix (game).
The PC version of GoF has no modding support for adding spells. Console versions have cheat codes (Action Replay, GameShark) that unlock all spells, but this breaks progression and may crash.
To use Avifors, play Harry Potter and the Order of the Phoenix (PC/PS2/Xbox/DS/Wii).