shadow: compute accurate bounding for stroke

When line join in stroke is CAIRO_LINE_JOIN_MITER, compute approximate
bounding box is vastly over estimated.  This over estimate result in much
bigger surface required for scratch shadow surface.