Demo/Shared/newlib/mkconfig: update for new use of configMAX_PRIORITIES

FreeRTOS makes excessive use of casts. This is also the case for
configMAX_PRIORITIES. It recently started using configMAX_PRIORITIES
in an #if expression but the preprocessor doesn't understand casts.

Until upstream is fixed, we just remove the cast in mkconfig.