Fixed #5104 (False positive: Invalid argument in printf and scanf for vector template)