The maximum cache size in terms of bytes is a 64-bit number. However, the methods to set it only take unsigned, which means that the maximum cache size cannot be specified above 4GB. That's quite small compared to the output of some projects, so it makes sense to provide the ability to set larger values in that field.
We also need a C-interface function that provides a greater range than the existing thinlto_codegen_set_cache_size_bytes, which also only takes an unsigned, so this change also adds thinlto_codegen_set_cache_size_megabytes.
Shouldn't this be changed to uint64_t? I don't think that would break any existing users since it is wider.