net/ice/base: add function to check FW recovery mode