HAS_SD_CARD defines around animation functions

Necessary in case hardware doesn’t include SD interface