smart_swap_mapping_data: Mimic ggplot2 behavior of intelligently interpretting first layer argument
Description
Like ggplot, if the first argument doesn't appear to be an aesthetic
mapping, despite mappings being appropriately passed in the first argument,
swap the first two arguments.