Fix hash calculation when serial number not present

As can happen with libdvdread...