xctool: add --HEAD

Closes #19633.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>