dictionary: Short-circuit no-op case in dict_reorder_var().