EFI: Fix issues that some resource destructions are not completed.

This patch fixes the issue that the resource destructions are not done
correctly. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>