Feeding layer feed is probably not the only possible cause. There are a number of reasons that chickens can get gout. Here is a good article with possible causes:
https://www.thepoultrysite.com/articles/gout-management-in-poultry
https://www.thepoultrysite.com/articles/gout-management-in-poultry