Ammonium formate-Pd/C as a new reducing system for 1,2,4-oxadiazoles. Synthesis of guanidine derivatives and reductive rearrangement to quinazolin-4-ones with potential anti-diabetic activity