A police officer and a man have both suffered gunshot wounds after police were called to a disturbance in Brisbane.