rusticl/kernel: recalculate scratch and shared memory after opts
Turns out we have to do it regardless as opts after explicit_types could get rid of even more scratch and shared memory.
Fixes: ea023ff5 ("rusticl/kernel: no need to reset the scratch size anymore")