net/qede/base: fix incorrect typecasting of flag