minor fix to payload generator

was passing platform string instead of the
platform lsit when formatting the payload
Merge branch 'master' of github.com:rapid7/metasploit-framework
Fix payload_generator.format_payload rspec

The platform should match.
Land #3037, @wchen-r7's rspec fix