emulators/mame: fix build on 14-CURRENT
- explicitly declare more system libraries
- port-{clippy,fmt,lint} maintenance
- separate out Qt machine debugger via OPTIONS
- separate out tools via OPTIONS
- remove licenses from ${PORTDOCS} as they are catalogued thru various ${LICENSE}* definitions
- add conditional logic for when OS ≧ 14 then explicitly build with LLVM
- a lot of the work in the post-patch target is on static files, so move most of this to files/
- files/patch-scripts_genie.lua is a fix for GCC
- sort targets into the order they run in.
PR: 271374