On right-angled Artin groups without surface subgroups