Gardeners are being warned to think twice about how they feed their garden birds.