Fix crash caused by type clash in missing/unavailable/warning texture paths

Recent change to remove hard coded texture paths caused const char * to be cast to String * causing crash.