Fix for br930 - support attributes on old-style port declarations.
Fix compiler crash when an attribute value is invalid.