[PATCH 18/26 v6] spl: spl_legacy: Use IS_ENABLED() to remove #ifdef