charmxi: Add EP index lookup function via entry method function pointer