aff1caf boot: Replace firmware security hooks directly

1 file Authored by Jan Janssen a year ago, Committed by bluca a year ago,
    boot: Replace firmware security hooks directly
    
    For some firmware, replacing their own security arch instance with our
    override using ReinstallProtocolInterface() is not enough as they will
    not use it. This commit goes back to how this was done before by
    directly modifying the security protocols.
    
    Fixes: #25336
    (cherry picked from commit 967a868563996e928f1fade5bcafc82a7219742b)
    
        
file modified
+40 -79