[added to the 4.1 stable tree] rtc-opal: Fix handling of firmware error codes, prevent busy loops