Police with riot shields and firearms had to be called to a Greenock flat after a man began chasing his brother around the property with a knife.