Is it possible to try another SD card with your current built to see if it makes any differences?
Could you please check if setting the LOG_FILE_BUFSIZE parameter to 8 would resolve the issue? You can also look through this Ardupilot’s forum thread where many other suggestions are discussed.