[kde-base/kdm] add logind runtime detection patch