NSW’s premier is vowing to stop a repeat of last year’s Opera House protests, as thousands are expected to take part in national pro-Palestine rallies.