hdy-enums: Make build reproducible

Use @basename@ instead of @filename@ since the later uses the full
path which varies across builds.
3 jobs for reproducible in 2 minutes and 29 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #4443
librem5
build-debian-clang

00:02:29

passed #4442
librem5
build-debian-gcc

00:02:07

25.4%
passed #4444
librem5
build-debian-package

00:02:16