Modelling Magnetic Bonds for Di- and Triatomic Hydrogen-Helium Molecules in the Atmospheres of White Dwarfs