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