W_{N+1}-constraints for singularities of type A_N