Nonhomogeneous Dirichlet problems for degenerate parabolic-hyperbolic equations