xf86/logind: fix missing call to vtenter if the platform device is not paused
If there is one platform device, which is not paused nor resumed, systemd_logind_vtenter() will never get called. This break suspend/resume, and switching to VT on system with nvida proprietary driver. This is a regression introduced by f5bd0396
Also fix compilation error when built without logind/platform bus This was introduced by commit 8eb1396d
Signed-off-by: Jocelyn Falempe jfalempe@redhat.com
Edited by Jocelyn Falempe