Boundedness of minimizers of degenerate functionals