APPS: Move load_csr_autofmt() from apps/cmp.c to apps.c and use it also for apps...