Magnetocaloric effect of gadolinium in high magnetic fields