Or you could use the stencil buffer to so something like, don't draw the part of the wall that the door cover, so there's no zfighthing at all.
With Z-Culling enabled this should solve your problem, that's what i did for something similar in my game before.
You just use the door to make the stencil "mask", before drawing the walls, then draw the walls using the stencil buffer as a mask, then turn the stenciling off and draw the door again normaly.