net/ena: fix build for O1 optimization