docs: Fix return value of al_create_thread.
Add missing iPhone platform includes to cmake.
Merge branch '5.1' of git://git.code.sf.net/p/alleg/allegro into 5.1