Man charged over Sydney beach bashing