Gravity–capillary waves in finite depth on flows of constant vorticity