Magnetism and large magnetocaloric effect in GdNiBC compound