Fix HWCODEC builds.

Change-Id: I7abed5dab9b4d0d053c274404dc4dc06864aa060
diff --git a/apps/screens.c b/apps/screens.c
index 527419f..608f055 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -674,6 +674,7 @@
     }
 }
 
+#if CONFIG_CODEC == SWCODEC
 /* Say a replaygain ID3 value from its text form */
 static void say_gain(char *buf)
 {
@@ -729,6 +730,7 @@
     }else /* we didn't find a number, just spell everything */
         talk_spell(buf, true);
 }
+#endif
 
 static const char * id3_get_or_speak_info(int selected_item, void* data,
                                           char *buffer, size_t buffer_len,
diff --git a/apps/talk.c b/apps/talk.c
index bcf7a49..8a2a809 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -1172,7 +1172,6 @@
     return 0;
 }
 
-#if CONFIG_CODEC == SWCODEC
 /* Play a directory's .talk thumbnail, fallback to spelling the filename, or
    go straight to spelling depending on settings. */
 int talk_dir_or_spell(const char* dirname,
@@ -1189,7 +1188,6 @@
         return talk_spell_basename(dirname, prefix_ids, enqueue);
     return 0;
 }
-#endif
 
 /* Speak thumbnail for each component of a full path, again falling
    back or going straight to spelling depending on settings. */