staging: spmi: hisi-spmi-controller: Fix some error handling paths