vrrp: use sysfs instead of ioctl to get ifindex

sysfs is architecture independent.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>