build: Mask debug builds as such in the cache