Renormalization and decoupling for the Yukawa model in curved spacetime