On the global dimension of multiplicative Weyl algebras