Fix RW_pointer comparison with underlying smart pointer type and fix missing declaration

libzypp commit 5f3b3f828a14d867019d055346016b43129756e8
               f4d222838870cf186a14093d14959859f42a6e73
OBS backport
update po