exportlayers: Fix current layer in export error messages
exportlayers: Fix current layer in export error messages

The current layer could also be a group, in which case an incorrect layer would be displayed.

khalim19/gimp-plugin-export-layers,khalim19/gimp-plugin-export-layers