Local models for the moduli stacks of global $\mathfrak{G}$-shtukas