vxlan: move ECN decapsulation to a separate function