Fix flash header size check and GDS brute check

Fixes a flash header size assumption, a PFS regression where the header wasn't checked, and a UEFI invalid process status (when a GDS tries to brute-force find a FV).