Set STATIC_ROOT/STATIC_URL overrides only if defined in settings.

If the project is not yet using staticfiles app, setting file name overrides based on STATIC_ROOT/STATIC_URL settings will cause issues.