Declare vid_from_reg and vid_which_vrm locally if HWMON_VID is not enabled

This prevents compilation errors if HWMON_VID is not enabled in the system
configuration.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>