Finsler-geometric continuum dynamics and shock compression