Healthcare professionals should consider asking people about gambling when speaking to them about smoking and alcohol consumption during a health check or GP appointment, new guidance recommends.