Modular Control Architecture for Safe Marine Navigation: Reinforcement Learning and Predictive Safety Filters