Fix property enforcement in `std.traits.functionAttributes`