efl: `eina_value_list_vinsert` assumes that the position is always valid

Authored by lucas on Feb 7 2020, 10:52 AM.


efl: eina_value_list_vinsert assumes that the position is always valid

The eina_value_list_vinsert at src/lib/eina_inline_value.x was not checking if the desired position was valid:
When inserting in an empty list in any out of bounds position it actually createded a list with the head being the desired value.
When inserting in a non-empty list in an out of bounds position caused a c error.
Now both cases return EINA_FALSE

Ref T8611

Test Plan:
Meson configured with -Dbindings=mono,cxx -Dmono-beta=true, and tests runned
with ninja test all.

Reviewers: felipealmeida, zmike

Reviewed By: zmike

Subscribers: cedric, reviewers, committers

Tags: efl

Maniphest Tasks: T8611

Differential Revision: https://phab.enlightenment.org/D11301