Meterpreter railgun multi call fix

Modifications accommodate changes in the multi-call railgun code that
were made to Meterpreter.

This also includes a fix for Redmine 8269, so the Windows constants
now work correctly with the multi-calls.

This is the MSF side to https://github.com/rapid7/meterpreter/pull/28