lib/util: use proper include for struct stat