Fix bug causing wrong disc ID being returned on 64bit systems.