Combine stout, brown sugar, coriander seeds, crushed peppercorns and salt in a saucepan. Bring to a boil, stirring frequently. Continue to boil until sugar is dissolved and the glaze is syrupy, 20 to 30 minutes. Strain the syrup mixture through a sieve.