games/zdoom: fix the build with llvm16 in base
The 'register' keyword now raises an error, so patch out those parts.
Patch generally taken from gzdoom commit 3c044ebd5eae343. No functional
change as a result of this.
(cherry picked from commit 10aecf3b195e51a5ee140d4dac8b28ae6cf3198a)