[SWITCHYARD-1850] - Fixed WeldAttachments Compilation Issue in 6.1.1

https://issues.jboss.org/browse/SWITCHYARD-1850