dog/vdi: add hexadecimal support for index option

It is convenient if the user already knows a oid, no need to
convert it to decimal index first.

Signed-off-by: Ruoyu <liangry@ucweb.com>
Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>