you don't stop this behaviour,you encourage it.this is a natural function of many plecos.wood is a requierment for some plecos.wood provides fiber and helps clean the digestive tract.
clown plec's by nature are secretive,so if your's is out and eating driftwood you should could consider yourself lucky.