drivers/amba: fix reset control error handling