matroskademux: Handle element's duration query.
This is small regression from commit f7abd81a.
When calling gst_element_query()
no pad is associated with that query, but the
current code always forwards the query to the associated pad, which is NULL in
previous case. This patch checks for the pad before forwarding the query.
cc: @thiblahute