A Toy model of the M5-brane: Anomalies of monopole strings in five dimensions