coregraphicslayer: fix memleak and avoid unnecessary image copy
input: cosmetic
freetype: fix crash is no monotype font name was set