Fix payload_generator.format_payload rspec

The platform should match.
Land #3037, @wchen-r7's rspec fix
Merge branch 'master' of github.com:rapid7/metasploit-framework