fdo#54938: Convert starmath to use cppu::supportsService

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