SPL: FIT: factor out spl_load_fit_image()