Queensland Police Commissioner Steve Gollschewski has been diagnosed with cancer and is stepping down from the role to be replaced by a deputy.