XMM observation of the dynamically young galaxy cluster CL 0939+4713