Automated Goal-Oriented Error Control for Stationary Variational Problems