doctool: correct invalid HTML generated for devdocs
The signals parameters <dl>
is incorrectly placed inside the previous
<dl>
for signal flags, resulting in invalid HTML.
Move the signal parameters out of the signal flags list, so that it is a sibling instead of a child.