Cache the initial gas mix.
Cache the initial gas mix.

The gas mode should not only be taken into account for parsing the gas
mix definitions, but also for the initial gas mix. Because the logic
needs to be kept in sync, it's convenient to have all related code in a
single place, and cache the value.

henrik242/libdivecomputer,Poltsi/libdivecomputer-vms,glance-/libdivecomputer,josh-wambua/libdivecomputer,josh-wambua/libdivecomputer,venkateshshukla/libdivecomputer,venkateshshukla/libdivecomputer,henrik242/libdivecomputer,glance-/libdivecomputer