libgui|Atlas: Added support for borders around allocations

Borders duplicate pixels on the edges of the allocation to allow
filtered wrapping and clamping when drawing the allocated image.