ofproto-dpif-rid: Fix memory leak.

Signed-off-by: Ben Pfaff <blp@nicira.com>