openocd: add head build support

Added a head URL and build support necessary for it.