Karnataka minister offers to quit if corruption charges are proved