Emit a nicer diagnostic for misplaced attributes on ObjC directives.