Fixed #5328 (Does not handle __attribute((xxx)) in typedefs)