[PATCH 3/6] widl: Simplify attribute creation with either int or ptr value.