Fix NULL-pointer check in d_font_string_geometrics