Unified beam control system of J-PARC linac