backup/moodle1: fix process_legacy_resource() declaration