WaterMAS: Sharpness-Aware Maximization for Neural Network Watermarking