Fix Object::get_indexed for simple properties.
Object::get_indexed was not correctly reporting invalid keys if the name
was a direct property (not a subproperty), causing for example Tween to
not report correctly a bad interpolate_property key.
(cherry picked from commit d39ffc101bd9592341530e5bc5436ddab1cd8f99)