Elastic constants of the layer compound GaS