Bug 90039: Avoid calling GraphicsContext drawing primitives for 0px borders

This tests that 0px borders don't call GraphicsContext drawing functions.

This tests passes if no ASSERT triggers.