fdo#54938: Convert to use cppu::supportsService

Change-Id: I5b8e08bad3d83b6df23127377c0700fcd27ff084
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>