Ashley Giles hopes Jonny Bairstow will still be hungry to fight for a place in England's Test team after not being offered a red-ball deal for 2020-21.