jsdoc3: add --HEAD

Closes #22682.

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