Add some missing ProhibitAttributes calls to some declaration-like #pragmas.