[PATCH 5.10.y 2/2] randstruct: gcc-plugin: Fix attribute addition