Rewrite uninit logic to ensure uninit and active handler if switching
handlers.
Also move gpif start SM to slfifo_setup