Merge pull request #6418 from RosettaCommons/roccomoretti/gcc13
Fix compilation for GCC 13.1
Address a bunch of warnings which popped up.
GCC 13 seems to have some more aggressive settings on warnings, which resulted in a number of warnings which can't directly be fixed. For now I've just turned off treating those warnings as errors in the compilation settings. If other people want to take a look at figuring out a work-around, I encourage them to do so.