Make sure that agent_onload and agent_onunload are processed only once

Related to rhbz#1063322
Add a test for multiple calls of Agent_OnLoad

Related to rhbz#1063322
Add test results for Linux-aarch64

Close rhbz#1044756