timeline: Check if metadata value holds object on marker snapping
This fixes an issue that came up during Pitivi-side development where adding a different metadata field (for example, setting a string value) on the source holding the markers would cause a G_VALUE_HOLDS_OBJECT
assertion to fail.
Edited by Piotr Brzeziński