WKB analysis of edge states in graphene in a strong magnetic field