[geany/geany] cb72e1: Fix possible crashers in filetypes_detect_from_fil...