Weak lensing analysis of RXC J2248.7−4431