Ponderomotive ion acceleration in dense magnetized laser-irradiated thick target plasmas