fix gui/skins2: ft2_bitmap.cpp write after allocated block

this fixes trac #10134

Signed-off-by: Erwan Tulou <erwan10@videolan.org>