[CXF-5862] Make sure we don't skip binding nodes in the binding file
Fixes a potential NPE if there are an odd number of binding nodes