dev: bail out if ifindex could not be retrieved

If we fail to find the ifindex of a given device, bail out.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
dev: make paths unlikely, simplify code

Simplify code a bit and mark error paths unlikely.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>