Fix sigsegv with createObjects
Fix sigsegv with createObjects

The create objects functor lambda was not properly capturing the
input object map.

Update the signature to accept an rvalue reference and move
construct the lambda copy.

Change-Id: I901fd978ea0882d5475b7340a2db1017d7aa443c
Signed-off-by: Brad Bishop <713d098c0be4c8fd2bf36a94cd08699466677ecd@fuzziesquirrel.com>

openbmc/phosphor-inventory-manager,openbmc/phosphor-inventory-manager