NSX: fix tenant_id passed as security_profile_id

Previously we were passing the tenant_id as the security_profile_id
to NSX so these ids would be switched around in the system backend.
This does not affect any operations as this is just extra metadata
in nsx to help an operator debug.

Change-Id: I1afdcc3621fef8fdd7d4eb3c57bff749a71d0d33
Closes-bug: 1325118
(cherry picked from commit 8d5dd751fa72611046d8dd48011e5b1b63e8511c)
Merge "NSX: fix tenant_id passed as security_profile_id" into stable/icehouse