[RFC] {farsi.c,arabic.c}: Fix comments and use stdbool

I didn't change the comments in arabic.c to C99 style, as I'm not sure what the current policy is on style changes (although this pull does contain some minor style changes). I can go ahead and do them if needed.