Fix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch...