Add uninstall_phase method to CaskroomOnly artifact

Should fix #5739.