Adapt to changes in libdcp1 wrt shared_ptr and Certificate.