CVE-2025-38274 fpga: fix potential null pointer deref in fpga_mgr_test_img_load_sgt()