Fix LZMA compilation on GCC with position-independent code (PIC) generation enabled

EBX register is used Global Offset Table in PIC
http://www.greyhat.ch/lab/downloads/pic.html
Rebuild nodes for hellfact map04
Weap scroll could sometimes miss sameslot weapons

In rear cases, when using next/prevweap, defined weapons in the same
slot couldn't cycle when looping to another when you only had weapons in
1 slot.
Merge branch 'upstream' of https://github.com/Edward850/zdoom
Merge branch 'upstream2' of https://github.com/Edward850/zdoom