Remove an unused lifetime parameter from Element::get_attribute.