asfdec: prevent possible memory leak in the asf_read_metadata_obj