gdev: fixed null pointer reference when the fermi