Fixes for memory access violations triggered by running readelf on fuzzed binaries.