[PATCH v2 36/40] spl: Convert spl_fit to work with sandbox