[qtdeclarative] Do not try to handle OOM exceptions in logging