- Rework over complicated getMID with its double parameters and
unnecessary assignments to a simple badMID, modelled on N_BADMAG
- Both CheckAOutFileInfo & GetAOutFileInfo now always rewind the
fd before reading. They currently both leave the fd pointing
directly after the in file exec struct header, but that matches
the behaviour of similar methods
- Consistently handle swapped MID and AOUT magic values
We still have unnecessarily duplicated code here, but what is
here should be cleaner