[PATCH 6.1 042/102] cdrom: rearrange last_media_change check to avoid unintentional overflow