{Array,Object}Validator: change pointer initialization

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>