Hi,
I guess that your William Birnie could have been buried in either Peathill or Rathen churchyards. I have a map of burials at Peathill but not Rathen.
My family has strong connections with Birnies from the Pitsligo parish, but I have not been able to quite fix on which village they may have come from.
Good luck in your search.
David Strachan