Remove byte order mark if present.