Draft: gstelement: Hold object lock while walking the pads during element dipose
During element dispose, the element could be re-vived through gst_pad_get_parent() and that could result in the application modifying the pad list, so we need to hold the lock while walking it.