[sw_api] Added a errno field in switch_operations

Some functions might need the error code  beside the status
returned by the ioctl.(for example: use_if_ether function
in userspace/cli/command/config.c).

Signed-off-by: Mihaela Martinas <martinas.mihaela21@gmail.com>