flash/nor/tcl: Make write_bank parameter optional