EditableTextField: fix native compilation with OpenFL <= 3.6.0
EditableTextField: fix native compilation with OpenFL <= 3.6.0

Seems like TextField#length was implemented only recently on legacy.
Closes #1819

HaxeFlixel/flixel