update c/porting-notes.md to doc use of unions as polymorphism