tcg/optimize: Split out fold_mb, fold_qemu_{ld,st}