Pohozaev-type inequalities and nonexistence results for non $C^2$ solutions of $p(x)$-laplacian equations