Regularity constants of the Stokes problem. Application to finite-element methods on curved domains