Northern Ireland animal nutrition firm Devenish has turned around a pre-tax loss of £14m to make pre-tax profit of £22m over the year to May 2024.