Fix modos.c to compile for the STM32F4Discovery board

The discovery board doesn't have MICROPY_HW_SDCARD conffigured, so the sdcard_is_present test doesn't exist.