src/common.[ch]: read_file_contents: Use {s,}size_t rather than int.