ipc : gpr-lite: Add NULL check for gpr dev pointer
it is possible that gpr may get deregistered already and hence will not get any pointer for gpr from dev_get_drvdata so proceed further only if gpr exists otherwise, it will lead to crash issue. Change-Id: I4129a76d1deade0c243c9a9515a8f84542f3596c