wrlib: fixed gcc version needed for deprecated attribute support