Link event data to instrument in loadbby. re #9805

David Mannicke fix to this
remove cppcheck warning. re #9805
Merge remote-tracking branch 'origin/feature/9805_bilby_eventdata'