use proc_set_size instead of proc_dir_entry->size

for kernels >= 3.10.0

struct proc_dir_entry is no more public, so we have to use the new
interface methods.