ec2_replace_image_criteria_in_allowed_images_settings function

Sets or replaces the criteria for Allowed AMIs