According to #12515 cross-compiling for windows on linux requires a work-around. I believe that for this reason, the nightly builds for linux and windows are not available: https://bitcoin.jonasschnelli.ch/build/522
It should be safe to just revert to the previously known-to-be-working version of ccache.
Fixes #12515
Reverts one commit of #12402