More than 18,600 motorists lodged claims for pothole-related vehicle damage across Scotland over the past five years.