[1.1] WELD-1782 Don't wrap resource producer field if the actual type is assignable to Serializable

NOTE: We don't have to fix ResourceCircularDependencyTest in 1.1 branch because WELD-1513 was not fixed here either.