Move --security-group-ids value to NetworkInterfaces structure if necessary

If we are constructing a NetworkInterfaces structure for the user in run-instances, we need to make sure that any security groups specified via --security-group-ids are moved into the NetworkInterfaces structure.  Otherwise we get a client error from EC2.  Fixes #504.