GH-100892: consolidate HEAD_LOCK/HEAD_UNLOCK macros
#100953
+6
−14
Merged