[PATCH AUTOSEL 5.1 092/219] net: hns3: fix for dereferencing before null checking