Skip unkown tags in WMS Getcapabilities
In Layer definition, if there is any other tag than ones that are interpreted, move to the end of the tag, as it may be complex tag and affect further parsing.
Closes: #16940