Garden enthusiasts are being encouraged to use coffee as a deterrent on their bird tables to fend off an unwelcome guest.