Non-Hermitian zero-energy pinning of Andreev and Majorana bound states in superconductor-semiconductor systems | Synapse