Core edge energy loss studies of Pd clusters on graphite