Foxconn riots could affect supplies of iPhone 5, says analyst