[PATCH 4.19 096/243] net: qualcomm: rmnet: move null check on dev before dereferecing it