The SAMI Galaxy Survey: Bayesian inference for gas disc kinematics using a hierarchical Gaussian mixture model