Place attribute_deprecated in the right position for struct declarations