[PATCH 4.14 05/45] net: Fix null de-reference of device refcount