Merge pull request #3127 from JosJuice/read-return DiscIO: Improve error handling for reading integers