[PATCH 4.14 25/48] rpmsg: Fix calling device_lock() on non-initialized device