common : add missing <fstream> include in common.h (#25220)