uefi: Check the error code of QueryCapsuleCapabilities() correctly
uefi: Check the error code of QueryCapsuleCapabilities() correctly

We can't print max or reset as they are undefined in the event of failure.

hughsie/fwupd,fwupd/fwupd,fwupd/fwupd,hughsie/fwupd,hughsie/fwupd,fwupd/fwupd,hughsie/fwupd,fwupd/fwupd