wlcore: fix unsafe dereference of the wlvif