Oscillating magnetocaloric effect of a multilayer graphene