Google has denied reports online that it had contacted all 2.5 billion Gmail users to say their accounts were at risk of being hacked.