cached checksums should not be used for input files when refresh_input is enabled

As @pierov found in tor-browser-build#41664 (closed), checksum of files used for input_files_id are cached, even when refresh_input is enabled.

This causes incorrect input_files_id to be used when the same input file is used with different content in different parts of the build.