GF-55912: Use enyo.indexOf for x-plat.
DCO-1.1-Signed-Off-By: Kevin Schaaf <kevin.schaaf@lge.com>