device: Also delete data from sensor

New libfprint releases have support for sensors that store match data on
the device. In this case, we need to call the appropriate routine to
also delete the print from the device and not only from the local
storage.

Please note that this is technically an API change to the DBus API, as
the device should now be opened before sending a delete command.
2 jobs for wip/benzea/add-delete-finger in 1 minute and 41 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Test
failed #350290
build_dev

00:01:39

failed #350289
build_stable

00:01:41

 
Name Stage Failure
failed
build_stable Test
/builds/benzea/fprintd/src/device.c:1244: undefined reference to `fp_dev_supports_data_in_sensor'
/usr/bin/ld: /builds/benzea/fprintd/src/device.c:1250: undefined reference to `fp_delete_finger'
collect2: error: ld returned 1 exit status
make[2]: Leaving directory '/builds/benzea/fprintd/src'
make[2]: *** [Makefile:523: fprintd] Error 1
make[1]: *** [Makefile:679: check] Error 2
make[1]: Leaving directory '/builds/benzea/fprintd/src'
make: *** [Makefile:448: check-recursive] Error 1
ERROR: Job failed: exit code 1
failed
build_dev Test
/builds/benzea/fprintd/src/device.c:1244: undefined reference to `fp_dev_supports_data_in_sensor'
/usr/bin/ld: /builds/benzea/fprintd/src/device.c:1250: undefined reference to `fp_delete_finger'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:523: fprintd] Error 1
make[2]: Leaving directory '/builds/benzea/fprintd/src'
make[1]: *** [Makefile:679: check] Error 2
make[1]: Leaving directory '/builds/benzea/fprintd/src'
make: *** [Makefile:448: check-recursive] Error 1
ERROR: Job failed: exit code 1