Uniform bounds in generalized Cohen–Macaulay rings