Pierre Gasly was aware of Lewis Hamilton's talks with Ferrari - well before it was officially announced last week.