[TF-A] [RFC]: Refactor measured boot patches