src: Use ‘error_local’ rather than ‘local_error’

Change the variable naming to fit with the rest of the convention across
the code base. See
GNOME/gnome-software!212 (comment 512566).

This makes no functional changes.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
1 job for gerror-fixes-again in 25 minutes and 3 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #301024
build-gnome-software

00:25:03