Validate item() method of CSSStyleDeclaration

Ensure CSSStyleDeclaration is converted to an integer (and thus prevented from accessing functions or other properties). (At least Mozilla does this conversion.)