Fixed bug in set_metadata(), with type 'link'

Without this, you would not be able to override `cannonical` like this:

->set_metadata('canonical', $data['item']['url'][CURRENT_LANGUAGE], 'link', 'header', true);

it was setting invalid $keys, with would just produce double canonical links in the header