Fix Strict warning `Attribute already exists`

`Warning: SimpleXMLElement::addAttribute() [simplexmlelement.addattribute]: Attribute already exists in \libraries\joomla\form\field.php on line 344`