ospf: T6747: fix deferred shutdown handling
Honor ospfd deferred shutdown when "max-metric router-lsa on-shutdown" is defined.
https://github.com/FRRouting/frr/issues/17011