Fixes: #7747 Block TAM rewrites with incompatible GUC setting
