[OS/2] Fix XQS (debug symbols) file creation, part 2.

This complements fd1c8ccc1 and both are fixes for b47b14d53 which
was broken by updating 17esr to 24esr.