mdoc: Xo/Xc handling improved