Xmega: moved message cache init to seperate function