[PATCH openEuler-5.10 079/100] pata_legacy: fix a couple uninitialized variable bugs