Missing required second argument in array_diff

The $whiteListAttributes variable is missing on the comparison function. 
This pr corrects previous https://github.com/joomla/joomla-cms/pull/2575