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)