On the continuity of minimizers for quasilinear functionals